﻿<!--_meta 作为公共模版分离出去-->
{include file="public/meta" /}
<!--/meta 作为公共模版分离出去-->

<title>{:sysconf('title')}管理系统</title>
</head>
<body>
{include file="public/header" /}

{include file="public/leftmenu" /}

<section class="Hui-article-box">
    <nav class="breadcrumb"><i class="Hui-iconfont"></i> <a href="{:url('Index/index')}" class="maincolor">首页</a>
        <span class="c-999 en">&gt;</span>
        <span class="c-666">管理系统概况</span>
        <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
           href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a></nav>
    <div class="Hui-article">
        <article class="cl pd-20">
            <p class="f-20 text-success">欢迎使用{:sysconf('title')}
                <span class="f-14">v1.0</span>
                后台管理系统！</p>
            <p>
                登录次数：{$managerInfo['login_count']}，上次登录IP：{$managerInfo['last_ip']}，上次登录时间：{$managerInfo['last_time']}</p>
            <table class="table table-border table-bordered table-bg">
                <thead>
                <tr>
                    <th colspan="7" scope="col">信息统计</th>
                </tr>
                <tr class="text-c">
                    <th>统计</th>
                    <th>未处理订单</th>
                    <th>未处理的提现</th>
                    <th>用户</th>
                    <th>待处理的积分订单</th>
                </tr>
                </thead>
                <tbody>
                <tr class="text-c">
                    <td>总数</td>
                    <td><a href="{:url('Order/index',['status'=>1])}">{$orderCount}</a></td>
                    <td><a href="{:url('Finance/cash')}">{$cashCount}</a></td>
                    <td><a href="{:url('User/index')}">{$userCount}</a></td>
                    <td><a href="{:url('Integral/orders')}">{$integralCount}</a></td>
                </tr>
                <tr class="text-c">
                    <td>今日</td>
                    <td><a href="{:url('Order/index',['status'=>1])}">{$todayOrderCount}</a></td>
                    <td><a href="{:url('Finance/cash')}">{$todayCashCount}</a></td>
                    <td><a href="{:url('User/index')}">{$todayUserCount}</a></td>
                    <td><a href="{:url('Integral/orders')}">{$todayIntegralCount}</a></td>
                </tr>
                <tr class="text-c">
                    <td>昨日</td>
                    <td><a href="{:url('Order/index',['status'=>1])}">{$yesterdayOrderCount}</a></td>
                    <td><a href="{:url('Finance/cash')}">{$yesterdayCashCount}</a></td>
                    <td><a href="{:url('User/index')}">{$yesterdayUserCount}</a></td>
                    <td><a href="{:url('Integral/orders')}">{$yesterdayIntegralCount}</a></td>
                </tr>
                <tr class="text-c">
                    <td>本周</td>
                    <td><a href="{:url('Order/index',['status'=>1])}">{$weekOrderCount}</a></td>
                    <td><a href="{:url('Finance/cash')}">{$weekCashCount}</a></td>
                    <td><a href="{:url('User/index')}">{$weekUserCount}</a></td>
                    <td><a href="{:url('Integral/orders')}">{$weekIntegralCount}</a></td>
                </tr>
                <tr class="text-c">
                    <td>本月</td>
                    <td><a href="{:url('Order/index',['status'=>1])}">{$monthOrderCount}</a></td>
                    <td><a href="{:url('Finance/cash')}">{$monthCashCount}</a></td>
                    <td><a href="{:url('User/index')}">{$monthUserCount}</a></td>
                    <td><a href="{:url('Integral/orders')}">{$monthIntegralCount}</a></td>
                </tr>
                </tbody>
            </table>
            <table class="table table-border table-bordered table-bg mt-20">
                <thead>
                <tr>
                    <th colspan="2" scope="col">管理系统信息</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <th width="30%">服务器IP地址</th>
                    <td><span id="lbServerName"><?php echo $_SERVER['SERVER_ADDR'] ?></span></td>
                </tr>
                <tr>
                    <td>系统框架版本</td>
                    <td>{$Think.const.THINK_VERSION}</td>
                </tr>
                <tr>
                    <td>服务器操作系统</td>
                    <td>{:php_uname('s')}</td>
                </tr>
                <tr>
                    <td>PHP版本</td>
                    <td>{:phpversion()}（GD库：<?php echo extension_loaded("gd") ? '开启' : '关闭'; ?>）</td>
                </tr>
                <tr>
                    <td>Web服务器</td>
                    <td><?php echo $_SERVER['SERVER_SOFTWARE'] ?></td>
                </tr>
                <tr>
                    <td>上传大小限制</td>
                    <td>{:ini_get('upload_max_filesize')}</td>
                </tr>
                </tbody>
            </table>
        </article>
        <footer class="footer">
            <p>Copyright &copy;2017 BoJuWang.Net All Rights Reserved.<br> 本后台系统由<a href="http://www.bojuwang.net/"
                                                                                   target="_blank" title="河南伯驹网络科技有限公司">伯驹网络</a>提供技术支持
            </p>
        </footer>
    </div>
</section>

<!--_footer 作为公共模版分离出去-->
{include file="public/footer" /}
<!--/_footer /作为公共模版分离出去-->

</body>
</html>